﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Models
{
    /// <summary>
    /// 商店商品信息表
    /// </summary>
    public class CommodityInfo:BasesDeleteEntity
    {
        /// <summary>
        /// 描述
        /// </summary>
        /// 
        [MaxLength(32)]
        public string Description { get; set; }
        /// <summary>
        /// 商品类型Id
        /// </summary>
        /// 
        [MaxLength(36)]
        public string Product_TypeId { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        /// 
        [MaxLength(16)]
        public string CommodityName { get; set; }
        /// <summary>
        /// 商品图片
        /// </summary>
        public string ImgUrl { get; set; }

        /// <summary>
        /// 商品规格
        /// </summary>
        /// 
        [MaxLength(32)]
        public string Specification { get; set; }

     
        /// <summary>
        /// 库存数量
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        /// 
        [MaxLength(8)]
        public string Unit { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Money { get; set; }
        /// <summary>
        /// 警告库存
        /// </summary>
        public int WarningNum { get; set; }

    }
}
